﻿using FlowDesigner.INotifyCommadBase;
using FlowDesigner.Interfacebase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlowDesigner.Listpicker.ListpickerViewModel
{
    public class SelectEntrantlistviewModel : NotifyBase, IBaseDialogViewModel
    {
        private int _selectedOption;

        public int SelectedOption
        {
            get => _selectedOption;
            set
            {
                if (_selectedOption != value)
                {
                    _selectedOption = value;
                    SetProperty(ref _selectedOption, value);
                }
            }
        }
        public SelectEntrantlistviewModel()
        {
            SelectOptionCommand = new ParameterCommand<string>(SelectOptionCommand_);
        }

        private void SelectOptionCommand_(string obj)
        {
            
        }

        public ParameterCommand<string> SelectOptionCommand {  get; set; }

        public event Func<object> MethodCalled;

        public void Passparameters(object o)
        {
            
        }

        public object returnData()
        {
           return null;
        }
    }
}
